#pragma once
#ifndef __OPTIONLAYER_H__
#define __OPTIONLAYER_H__
#include "BasicLayer.h"

USING_NS_CC;


class OptionLayer : public BasicLayer
{

public:

	OptionLayer(void);
	~OptionLayer(void);

	virtual bool init();

	virtual void onEnter();
	void setupViews();

	static CCScene* scene();

	CREATE_FUNC(OptionLayer);

	void musicToggle(CCObject* obj);

	void effectToggle(CCObject* obj);

	void callback_back(CCObject* obj);

private:
	CCMenuItemToggle* pMusic;

	CCMenuItemToggle* pEffect;




};






#endif